import PostForm from "@/components/forms/PostForm";
import { addpostIcon } from "@/utils";

// 创建一个名为CreatePost的函数组件
const CreatePost = () => {
  return (
    <div className="flex flex-1">
     <div className="common-container">
        <div className="max-w-5xl flex-start gap-3 justify-start w-full">
          <img 
            src={addpostIcon} 
            alt="add post" 
            width={36}
            height={36}
          />
          <h2 className="h3-bold md:h2-bold text-left w-full">Create Post</h2>
        </div>

        <PostForm action={"Create"} />
     </div>
    </div>
  );
}

export default CreatePost;